Skip to content

feat(zero-cache): config to turn on SQLite-only change log mode - #6488

Merged
tantaman merged 1 commit into
mainfrom
mlaw/sqlite-change-log-mode
Sep 8, 2026
Merged

feat(zero-cache): config to turn on SQLite-only change log mode#6488
tantaman merged 1 commit into
mainfrom
mlaw/sqlite-change-log-mode

Conversation

@tantaman

@tantaman tantaman commented Sep 4, 2026

Copy link
Copy Markdown
Contributor
  • A new hidden setting, pgChangeLogEnabled. defaults to true.
  • If false, SQLite handles:
    • resuming streams
    • storing incoming changes
    • serving catch-up data
    • deciding when changes are safe to purge
    • tracking backup progress
  • PostgreSQL’s old change log is left alone and is no longer used as a fallback.
  • Subscribers asking for data older than SQLite has receive a “watermark too old” error,
    prompting a fresh sync.
  • Disabling PostgreSQL requires SQLite to be fully authoritative and requires a Litestream
    v5 backup, preventing unsafe configurations.

@vercel

vercel Bot commented Sep 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
replicache-docs Ready Ready Preview Sep 8, 2026 2:52pm UTC
zbugs Ready Ready Preview Sep 8, 2026 2:52pm UTC

Request Review

@tantaman
tantaman force-pushed the mlaw/sqlite-change-log-mode branch from 806a356 to 89fe8e0 Compare September 8, 2026 14:51
@tantaman
tantaman added this pull request to the merge queue Sep 8, 2026
Merged via the queue into main with commit fb9659b Sep 8, 2026
36 checks passed
@tantaman
tantaman deleted the mlaw/sqlite-change-log-mode branch September 8, 2026 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant